Search

本篇研究解釋為什麼 Ruby 中的常量(constant) 常常看到要寫 freeze
<...

  • Share this:

本篇研究解釋為什麼 Ruby 中的常量(constant) 常常看到要寫 freeze

在 ruby 2.3 前後分別有不同的寫法,在 String 沒有 freeze 的情況下,其中的效能差別都在這篇筆記裡分享給你


Tags:

About author
not provided
會跳 Breaking 的工程師 會傳奇怪影片到 Youtube 的工程師 會寫技術筆記得工程?
View all posts